package com.ld.security.common.mybatis.anno;

import java.lang.annotation.*;

/**
 * 多对多映射
 */
@Target(value = {ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ManyToMany {

    String key() default "id";

    /**
     * 当前对象得属性值
     * @return
     */
    String value() default "id";



}
